package cn.cq.admin.mapper;

import cn.cq.admin.entity.model.TFileImage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

/**
* @author  dicraft
* @description 针对表【t_file_image(图片上传表)】的数据库操作Mapper
* @Entity cn.cq.admin.entity.model.TFileImage
*/
public interface TFileImageMapper extends BaseMapper<TFileImage> {
//    @Delete("<script>"
//            +"delete from t_file_image where preview_path in "
//            +"<foreach item = 'path' collection = 'paths' index = 'index' open = '(' separator = ',' close = ')'>"
//            +"#{path}"
//            +"</foreach>"
//            +"</script>")
//    void removeByPreviewPaths(List<String> paths);

}




